﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;


namespace LeadTeam.Exam.Entities
{

    [DataContract]
    [Table("ORGANIZATIONS")]
    public class Organizations
    {
        [DataMember]
        [Key]
        public int O_ID { get; set; }

        [DataMember]
        [MaxLength(20)]
        public string O_NAME{ get; set;}

        [DataMember]
        public DateTime O_CREATE { get; set; }

        [DataMember]
        public int O_PARENT_ID { get; set; }

        [DataMember]
        [MaxLength(50)]
        public string O_DESC { get; set; }
    }
}
